<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

   protected function _initAutoload() {
        $autoloader = new Zend_Application_Module_Autoloader(array('namespace' => 'Default','basePath'  => dirname(__FILE__)));
        return $autoloader;
    }
    
    protected function _initConstants() {
    	$constants = new Zend_Config_Ini( APPLICATION_PATH . '/configs/constants.ini', APPLICATION_ENV);
    	Zend_Registry::set('constants',$constants);
    }
}

